projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3968b36
)
Define missing type in semantic/db-find.el
author
Po Lu
<luangruo@yahoo.com>
Fri, 5 Apr 2024 05:54:07 +0000
(13:54 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Fri, 5 Apr 2024 05:54:07 +0000
(13:54 +0800)
* lisp/cedet/semantic/db-find.el
(semanticdb-find-result-with-nil): New deftype.
lisp/cedet/semantic/db-find.el
patch
|
blob
|
history
diff --git
a/lisp/cedet/semantic/db-find.el
b/lisp/cedet/semantic/db-find.el
index 551f86a792ebba483295e28776c7d68cf0ffab90..920588abf89a10ceb99a569e4f5c997730f1f7d4 100644
(file)
--- a/
lisp/cedet/semantic/db-find.el
+++ b/
lisp/cedet/semantic/db-find.el
@@
-928,6
+928,9
@@
but should be good enough for debugging assertions."
(semanticdb-find-result-length result)
(length result))))
+(cl-deftype semanticdb-find-result-with-nil ()
+ '(satisfies semanticdb-find-result-with-nil-p))
+
(defun semanticdb-find-result-with-nil-p (resultp)
"Non-nil if RESULTP is in the form of a semanticdb search result.
The value nil is valid where a TABLE usually is, but only if the TAG